{% load l10n i18n %}
<html lang="en">
    <head>
        <title>{% trans 'Pools usage summary' %} {% trans 'from' %} {{ start }} {% trans 'to' %} {{ end }}</title>
        <meta name="author" content="UDS">
        <meta name="description" content="{% trans 'Pools usage summary' %} {% trans 'from' %} {{ start }} {% trans 'to' %} {{ end }}">
        <meta name="keywords" content="uds,report,usage,pools,summary">
        <meta name="generator" content="UDS Reporting">
    </head>
    <body>
        <table style="width: 100%; font-size: 0.8em;">
            <thead>
                <tr>
                    <th style="width: 40%">{% trans 'Pool' %}</th>
                    <th style="width: 15%">{% trans 'Total time' %}</th>
                    <th style="width: 15%">{% trans 'Total accesses' %}</th>
                    <th style="width: 15%">{% trans 'Unique users' %}</th>
                    <th style="width: 15%">{% trans 'Mean time' %}</th>
                </tr>
            </thead>
            <tbody>
            {% for pool in data %}
                <tr>
                    <td>{{ pool.name }}</td>
                    <td>{{ pool.time }}</td>
                    <td>{{ pool.count }}</td>
                    <td>{{ pool.users }}</td>
                    <td>{{ pool.mean }}</td>
                </tr>
            {% endfor %}
            <tr>
                <td>{% trans 'Total' %}</td>
                <td>{{ time }}</td>
                <td>{{ count }}</td>
                <td>{{ users }}</td>
                <td>{{ mean }}</td>
        </tr>
        </tbody>
        </table>
        <!-- <p style="page-break-before: always">
            This is a new page
        </p> -->
    </body>
</html>